package org.agent.aigccore.model.po;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.agent.aigccore.basic.serializable.BasePOBaseModel;

import java.util.Date;

/**
 * IoT工单PO类
 */
@Setter
@Getter
@Schema(description = "IoT工单持久化对象")
public class IotWorkOrderPO extends BasePOBaseModel {

    /**
     * 任务名称
     */
    @Schema(description = "任务名称")
    private String name;
    
    /**
     * 类型（一对一上下料）
     */
    @Schema(description = "类型（一对一上下料）")
    private String type;
    
    /**
     * 状态
     */
    @Schema(description = "状态")
    private String status;
    
    /**
     * 阶段
     */
    @Schema(description = "阶段")
    private String stage;
    
    /**
     * 关联业务组id
     */
    @Schema(description = "关联业务组id")
    private Long businessGroupId;
    
    /**
     * 关联业务组名称
     */
    @Schema(description = "关联业务组名称")
    private String businessGroupName;
    
    /**
     * 关联上料设备id
     */
    @Schema(description = "关联上料设备id")
    private Long feedingDeviceId;
    
    /**
     * 关联上料设备名称
     */
    @Schema(description = "关联上料设备名称")
    private String feedingDeviceName;
    
    /**
     * 关联下料设备id
     */
    @Schema(description = "关联下料设备id")
    private Long unloadingDeviceId;
    
    /**
     * 关联下料设备名称
     */
    @Schema(description = "关联下料设备名称")
    private String unloadingDeviceName;
    
    /**
     * 数据
     */
    @Schema(description = "数据")
    private String data;
    
    /**
     * rms任务id
     */
    @Schema(description = "rms任务id")
    private String outBizId;
    
    /**
     * outbizdata
     */
    @Schema(description = "outbizdata")
    private String outBizData;
    
    /**
     * 任务开始时间
     */
    @Schema(description = "任务开始时间")
    private Date startTime;
    
    /**
     * 任务结束时间
     */
    @Schema(description = "任务结束时间")
    private Date endTime;
    
    /**
     * 失败次数
     */
    @Schema(description = "失败次数")
    private Integer failCount;
}